package com.qf.application.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qf.application.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface EmpMapper extends BaseMapper<Emp> {

    // MP支持自定义的SQL分页功能，方法名称必须是以Page结尾的
    IPage<Emp> empPage(@Param("page") Page<Emp> page, @Param("param") Map<String,Object> param);
}
